<?php


Route::namespace('Wx')->group(function(){
	Route::post('get-openid',	     'IndexController@getOpenid');	
	Route::post('get-token',	 	 'IndexController@getToken');

	Route::post('get-wx-user','IndexController@getWxUser');
	Route::post('article-list',		 'IndexController@articleList');
	Route::post('contact',			 'IndexController@contact');
	Route::post('about',			 'IndexController@about');
	Route::post('parter',			 'IndexController@parter');

	//我要吐槽
	Route::post('suggest',			 'IndexController@suggest');

	// 预约保养
	Route::post('booking',			 'IndexController@booking');
	Route::post('get-booking',		 'IndexController@getBooking');

	Route::post('product-list', 	 'ProductController@index');
	Route::post('product-show', 	 'ProductController@show');	

	// 租赁信息
	Route::post('rent-list',		'RentController@index'); 
	Route::post('rent-show',		'RentController@show'); 
	Route::post('rent-log',			'RentController@log'); 

	// 预约信息
	Route::post('booking-list',		'BookingController@index'); 
	Route::post('booking-show',		'BookingController@show');


	Route::post('user-info',		 'UserController@info');
	Route::post('user-update',		 'UserController@update');

	Route::post('upload',  	 'IndexController@upload');
});

